package com.dt.app.modules.product.entities;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2024-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_price")
@ApiModel(value="ProductPrice对象", description="")
public class ProductPrice implements Serializable {

    private static final long serialVersionUID=20240311231859371L;

    @ApiModelProperty(value = "材料-价格 多维组合值")
    @TableId(value = "product_price_id", type = IdType.AUTO)
    private Integer productPriceId;

    @ApiModelProperty(value = "分类")
    @TableField("category_id")
    private Integer categoryId;

    @ApiModelProperty(value = "材料")
    @TableField("product_id")
    private Integer productId;

    @ApiModelProperty(value = "公司")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "规格组合名称 ,开始、结尾、分割")
    @TableField("gg_zuhe")
    private String ggZuhe;

    @ApiModelProperty(value = "价格对外报价 原价+")
    @TableField("price_add")
    private BigDecimal priceAdd;

    @ApiModelProperty(value = "预计成本")
    @TableField("price_cb_add")
    private BigDecimal priceCbAdd;

    @ApiModelProperty(value = "库存数量")
    @TableField("sl_kc")
    private BigDecimal slKc;

    @ApiModelProperty(value = "销售数量")
    @TableField("sl_xs")
    private BigDecimal slXs;

    @ApiModelProperty(value = "0失效不生产 1激活 2主推发布到前台")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "图片 视频 语音")
    @TableField("zh_vd1")
    private String zhVd1;

    @ApiModelProperty(value = "图片")
    @TableField("zh_vd2")
    private String zhVd2;

    @ApiModelProperty(value = "图片")
    @TableField("zh_vd3")
    private String zhVd3;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
